<?
require_once './config.inc.php';
//session_start();
if(check_wap()){
	header("Location:wap.php");
	exit();
}
if (empty($_SESSION["username"])){
	header("Location:./admin/login.php");
}else{
	header("Location:./view.php");
}
?>
